package com.dayu.store.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 店员用户对象 applet_clerk_user
 * 
 * @author HK
 * @date 2022-01-07
 */
public class AppletClerkUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 门店 */
    @Excel(name = "门店")
    private String storeId;

    /** 微信openId */
    private String openId;

    /** 密码 */
    private String password;

    /** 角色 */
    @Excel(name = "角色", readConverterExp = "1=店员,2=店长,3=老板")
    private Integer role;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /*收款码*/
    private String payScan;

    public String getPayScan() {
        return payScan;
    }

    public void setPayScan(String payScan) {
        this.payScan = payScan;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStoreId(String storeId)
    {
        this.storeId = storeId;
    }

    public String getStoreId()
    {
        return storeId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setRole(Integer role) 
    {
        this.role = role;
    }

    public Integer getRole() 
    {
        return role;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return "AppletClerkUser{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", name='" + name + '\'' +
                ", storeId='" + storeId + '\'' +
                ", openId='" + openId + '\'' +
                ", password='" + password + '\'' +
                ", role=" + role +
                ", status=" + status +
                ", payScan='" + payScan + '\'' +
                '}';
    }
}
